ref(all stacks): ports

master
arcbjorn 2 years ago
parent 9d14333889
commit 179d0c961c

@ -7,9 +7,9 @@ infra.arcbjorn.com {
} }
db.arcbjorn.com { db.arcbjorn.com {
reverse_proxy pgadmin:7000 reverse_proxy pgadmin:80
} }
git.arcbjorn.com { git.arcbjorn.com {
reverse_proxy gitea:8070 reverse_proxy gitea:3000
} }

@ -11,23 +11,23 @@ services:
- /etc/localtime:/etc/localtime:ro - /etc/localtime:/etc/localtime:ro
- /var/run/docker.sock:/var/run/docker.sock:ro - /var/run/docker.sock:/var/run/docker.sock:ro
- /root/containers/portainer/portainer-data:/data - /root/containers/portainer/portainer-data:/data
networks:
- caddy-network
ports: ports:
- 9000:9000 - 9000:9000
networks:
- caddy-network
caddy: caddy:
image: caddy:latest image: caddy:latest
restart: unless-stopped restart: unless-stopped
container_name: caddy container_name: caddy
ports:
- 80:80
- 443:443
volumes: volumes:
- /root/containers/caddy/Caddyfile:/etc/caddy/Caddyfile - /root/containers/caddy/Caddyfile:/etc/caddy/Caddyfile
- /root/containers/caddy/site:/srv - /root/containers/caddy/site:/srv
- /root/containers/caddy/caddy_data:/data - /root/containers/caddy/caddy_data:/data
- /root/containers/caddy/caddy_config:/config - /root/containers/caddy/caddy_config:/config
ports:
- 80:80
- 443:443
networks: networks:
- caddy-network - caddy-network

@ -1,7 +1,7 @@
version: "3.9" version: "3.9"
services: services:
server: gitea:
image: gitea/gitea:latest image: gitea/gitea:latest
container_name: gitea container_name: gitea
@ -18,12 +18,12 @@ services:
- /root/containers/gitea/data:/data - /root/containers/gitea/data:/data
- /etc/timezone:/etc/timezone:ro - /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro - /etc/localtime:/etc/localtime:ro
ports:
- "${GIT_UI_PORT}:3000"
- "${GIT_PORT}:22"
networks: networks:
- postgresql-network - postgresql-network
- caddy-network - caddy-network
ports:
- "${GIT_PORT}:3000"
- "222:22"
volumes: volumes:
gitea: gitea:

Loading…
Cancel
Save