-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
41 lines (38 loc) · 797 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
41 lines (38 loc) · 797 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Siberian CMS SAE docker stack
version: '3.7'
services:
mysql:
image: mariadb:10.5
environment:
MYSQL_ALLOW_EMPTY_PASSWORD: 'yes'
MYSQL_DATABASE: siberian
MYSQL_USER: siberian
MYSQL_PASSWORD: siberian
volumes:
- db:/var/lib/mysql:rw
deploy:
placement:
constraints:
- node.platform.os == linux
- node.role == manager
web:
image: rylorin/siberiancms:latest
depends_on:
- mysql
networks:
- default
- portainer_agent_network
deploy:
placement:
constraints:
- node.platform.os == linux
- node.role == manager
volumes:
- htdocs:/var/www/html:rw
networks:
default:
portainer_agent_network:
external: true
volumes:
db:
htdocs: