32 lines
695 B
YAML
32 lines
695 B
YAML
services:
|
|
satis-nginx:
|
|
image: nginx:alpine
|
|
container_name: satis-nginx
|
|
restart: unless-stopped
|
|
volumes:
|
|
- ./web:/usr/share/nginx/html:ro
|
|
- ./nginx/default.conf:/etc/nginx/conf.d/default.conf:ro
|
|
environment:
|
|
VIRTUAL_HOST: satis.trweb.hu
|
|
LETSENCRYPT_HOST: satis.trweb.hu
|
|
LETSENCRYPT_EMAIL: info@tothbt.com
|
|
networks:
|
|
- web
|
|
|
|
satis-build:
|
|
image: composer/satis
|
|
container_name: satis-build
|
|
volumes:
|
|
- ./satis.json:/build/satis.json:ro
|
|
- ./web:/build/web
|
|
working_dir: /build
|
|
command: ["build", "satis.json", "web"]
|
|
networks:
|
|
- web
|
|
profiles:
|
|
- build
|
|
|
|
networks:
|
|
web:
|
|
external: true
|