forked from fandyy/bitnami-docker-prestashop
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
31 lines (31 loc) · 804 Bytes
/
docker-compose.yml
File metadata and controls
31 lines (31 loc) · 804 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
version: '2'
services:
mariadb:
image: docker.io/bitnami/mariadb:10.3
environment:
- ALLOW_EMPTY_PASSWORD=yes
- MARIADB_USER=bn_prestashop
- MARIADB_DATABASE=bitnami_prestashop
volumes:
- 'mariadb_data:/bitnami/mariadb'
prestashop:
image: docker.io/bitnami/prestashop:1.7
ports:
- '80:8080'
- '443:8443'
environment:
- PRESTASHOP_HOST=localhost
- PRESTASHOP_DATABASE_HOST=mariadb
- PRESTASHOP_DATABASE_PORT_NUMBER=3306
- PRESTASHOP_DATABASE_USER=bn_prestashop
- PRESTASHOP_DATABASE_NAME=bitnami_prestashop
- ALLOW_EMPTY_PASSWORD=yes
volumes:
- 'prestashop_data:/bitnami/prestashop'
depends_on:
- mariadb
volumes:
mariadb_data:
driver: local
prestashop_data:
driver: local