picture-uploader/docker-compose.yml
2024-01-11 22:23:10 +01:00

41 lines
715 B
YAML
Executable file

version: "3.9"
services:
# Go application service
go-app:
build:
context: go/.
args:
- GO111MODULE=on
#ports:
# - "8080:8080"
environment:
- VIRTUAL_HOST=pick.brothertec.eu
- VIRTUAL_PORT=8080
- LETSENCRYPT_HOST=pick.brothertec.eu
- LETSENCRYPT_EMAIL=admin@brothertec.eu
volumes:
- ./uploads:/uploads
restart: always
labels:
- flame.type=application
- flame.name=Picture Upload
- flame.url=https://pick.brothertec.eu
- flame.icon=image
networks:
default:
proxy:
edge-tier:
networks:
proxy:
name: nginx-proxy
external: true
edge-tier:
name: edge
external: true