-
Notifications
You must be signed in to change notification settings - Fork 54
/
docker-compose.yml
45 lines (43 loc) · 797 Bytes
/
docker-compose.yml
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
42
43
44
45
# Docker Compose for Seravo WordPress project template
#
# Start:
# echo "SITE=wordpress" > .env
# docker-compose up
#
# Access:
# ssh wordpress.local -F .vagrant/ssh/config
#
# Clean up:
# docker-compose down -v --remove-orphans
# rm -rf .vagrant
#
# If container is not visible on your network, expose it with port
# bindings like:
# - 80:80
# - 443:443
# - 22:22
# ...
#
version: '3'
services:
wordpress:
container_name: ${SITE:-wordpress}
hostname: ${SITE:-wordpress}
image: docker.io/seravo/wordpress:nightly
ports:
- 80
- 443
- 22
- 3306
- 1337
- 1338
- 8080
- 9000
volumes:
- wordpress:/data
- .:/data/wordpress
environment:
#- WP_USER_UID=${WP_USER_UID:-1000}
- DEBUG="true"
volumes:
wordpress: