Refactor gitea app: deploy with ansible
This commit is contained in:
17
files/gitea/docker-compose.yml.j2
Normal file
17
files/gitea/docker-compose.yml.j2
Normal file
@ -0,0 +1,17 @@
|
||||
services:
|
||||
|
||||
server:
|
||||
image: gitea/gitea:1.22.6
|
||||
restart: unless-stopped
|
||||
container_name: gitea_web_app
|
||||
environment:
|
||||
- "USER_UID=${USER_UID}"
|
||||
- "USER_GID=${USER_GID}"
|
||||
- "GITEA__server__SSH_PORT=2222"
|
||||
volumes:
|
||||
- ./data:/data
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
ports:
|
||||
- "${WEB_SERVER_PORT}:3000"
|
||||
- "2222:22"
|
Reference in New Issue
Block a user