add myos stack

This commit is contained in:
Yann Autissier 2023-11-21 19:51:13 +01:00
parent 6ff838624c
commit 2ad02d500c
6 changed files with 52 additions and 0 deletions

7
stack/myos/networks.yml Normal file
View File

@ -0,0 +1,7 @@
networks:
private:
external: true
name: ${DOCKER_NETWORK_PRIVATE:-docker}
public:
external: true
name: ${DOCKER_NETWORK_PUBLIC:-localhost}

View File

@ -0,0 +1,9 @@
version: '3.6'
volumes:
backup:
driver: local
driver_opts:
device: /var/lib/backup
o: bind
type: none

View File

@ -0,0 +1,9 @@
version: '3.6'
volumes:
dns:
driver: local
driver_opts:
device: /dns
o: bind
type: none

View File

@ -0,0 +1,9 @@
version: '3.6'
volumes:
home:
driver: local
driver_opts:
device: /home
o: bind
type: none

View File

@ -0,0 +1,9 @@
version: '3.6'
volumes:
log:
driver: local
driver_opts:
device: /var/log
o: bind
type: none

View File

@ -0,0 +1,9 @@
version: '3.6'
volumes:
www:
driver: local
driver_opts:
device: /var/www
o: bind
type: none