compose v2 setup
This commit is contained in:
parent
ae750fc3e8
commit
fe4476d774
4 changed files with 38 additions and 9 deletions
6
domains/alphamill.gr/docker-compose.yml
Normal file
6
domains/alphamill.gr/docker-compose.yml
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
include:
|
||||
- path: ./site/docker-compose.yml
|
||||
|
||||
networks:
|
||||
proxy_net:
|
||||
external: true
|
||||
|
|
@ -3,24 +3,23 @@ volumes:
|
|||
rcm_alphamill_db:
|
||||
|
||||
networks:
|
||||
alphamill_net:
|
||||
external: true
|
||||
default_net:
|
||||
proxy_net:
|
||||
name: "proxy-net"
|
||||
external: true
|
||||
|
||||
services:
|
||||
webmail:
|
||||
container_name: alphamill_webmail
|
||||
image: roundcube/roundcubemail:latest
|
||||
volumes:
|
||||
- rcm_alphamill_web:/var/www/html
|
||||
- rcm_alphamill_db:/var/roundcube/db
|
||||
networks:
|
||||
- alphamill_net
|
||||
- default_net
|
||||
- proxy_net
|
||||
environment:
|
||||
- ROUNDCUBEMAIL_DB_TYPE=sqlite
|
||||
- ROUNDCUBEMAIL_SKIN=elastic
|
||||
- ROUNDCUBEMAIL_DEFAULT_HOST=tls://imap.purelymail.com
|
||||
- ROUNDCUBEMAIL_DEFAULT_HOST=ssl://imap.purelymail.com
|
||||
- ROUNDCUBEMAIL_DEFAULT_PORT=993
|
||||
- ROUNDCUBEMAIL_SMTP_SERVER=tls://imap.purelymail.com
|
||||
- ROUNDCUBEMAIL_SMTP_PORT=587
|
||||
|
|
|
|||
18
domains/alphamill.gr/site/docker-compose.yml
Normal file
18
domains/alphamill.gr/site/docker-compose.yml
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
networks:
|
||||
proxy_net:
|
||||
name: "proxy-net"
|
||||
external: true
|
||||
services:
|
||||
alphamill:
|
||||
container_name: alphamill_site
|
||||
image: custom/alphamill_site
|
||||
build:
|
||||
context: ./src
|
||||
dockerfile: ./Dockerfile
|
||||
networks:
|
||||
- proxy_net
|
||||
labels:
|
||||
- traefik.http.routers.alphamill-site-container.rule=Host(`alphamill.gr`)
|
||||
- traefik.http.services.alphamill-site-service.loadbalancer.server.port=3000
|
||||
# ports:
|
||||
# - 8080:3000
|
||||
|
|
@ -1 +1 @@
|
|||
Subproject commit 831dfd8db1eaa561ab8c20c75a54b742468da864
|
||||
Subproject commit 22809a9db3f385b7a17f17c327f24164092242b8
|
||||
Loading…
Reference in a new issue