docker comnpose yml
This commit is contained in:
parent
16bbcdca6d
commit
1239af8b5f
|
|
@ -0,0 +1,25 @@
|
|||
version: '3'
|
||||
services:
|
||||
|
||||
app:
|
||||
env_file: .env
|
||||
container_name: gitea_hat
|
||||
restart: always
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
external_links:
|
||||
- mysql
|
||||
volumes:
|
||||
- /root/gitea:/data
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
networks:
|
||||
- default
|
||||
- app_net
|
||||
ports:
|
||||
- 10082:3000
|
||||
|
||||
networks:
|
||||
app_net:
|
||||
external: true
|
||||
Loading…
Reference in New Issue