blob: f06d1dedc54f90368161b4be30ccb8ae63f01093 (
plain) (
blame)
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
|
version: "3.2"
services:
db:
image: mysql:latest
volumes:
- db_data:/var/lib/mysql
env_file: docker/stikked-envvars.txt
stikked:
depends_on:
- db
image: stikked
env_file: docker/stikked-envvars.txt
ports:
- 80:80
# You should use persistant storage for this,
# as if the volume is deleted, everything is gone!
volumes:
db_data:
# Example of NFS backed persistant storage:
# db_data:
# driver_opts:
# type: "nfs"
# o: "addr=192.168.1.254,nolock,soft,rw"
# device: ":/nfs/export/pbdatabase"
|