32 lines
639 B
YAML
32 lines
639 B
YAML
version: "3"
|
|
services:
|
|
nginx-proxy:
|
|
image: jwilder/nginx-proxy
|
|
ports:
|
|
- "80:80"
|
|
volumes:
|
|
- /var/run/docker.sock:/tmp/docker.sock:ro
|
|
- ./vhost:/etc/nginx/vhost.d:ro
|
|
gitea:
|
|
image: gitea/gitea:1
|
|
container_name: gitea
|
|
ports:
|
|
- "3000:3000"
|
|
- "3022:22"
|
|
volumes:
|
|
- /etc/timezone:/etc/timezone:ro
|
|
- /etc/localtime:/etc/localtime:ro
|
|
- ./data:/data
|
|
environment:
|
|
- VIRTUAL_PORT=3000
|
|
- VIRTUAL_HOST=git.07fi.net
|
|
- USER_UID=1000
|
|
- USER_GID=1000
|
|
- TZ=America/Chicago
|
|
restart: always
|
|
networks:
|
|
- default
|
|
|
|
networks:
|
|
default:
|