publiccode.si/docker-compose.yml

29 lines
707 B
YAML
Raw Normal View History

version: '3'
services:
pmpc:
container_name: pmpc
build: .
image: pmpc
restart: always
logging:
driver: json-file
options:
max-size: "5m"
max-file: "5"
environment:
- VIRTUAL_HOST=publiccode.eu,www.publiccode.eu
2021-04-29 12:23:57 +02:00
- VIRTUAL_PORT=8080
- LETSENCRYPT_HOST=publiccode.eu,www.publiccode.eu
- LETSENCRYPT_EMAIL=contact@fsfe.org
2018-10-09 15:12:35 +02:00
# Connect the container which exposes the service to the 'bridge' network as
# this is where the reverse proxy is
2018-10-09 15:12:35 +02:00
connect-bridge:
image: docker:dind
volumes:
- /var/run/docker.sock:/var/run/docker.sock
depends_on:
- pmpc
command: sh -c 'docker network connect bridge pmpc'