42 lines
715 B
YAML
42 lines
715 B
YAML
|
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
|