-
Notifications
You must be signed in to change notification settings - Fork 7
/
docker-compose.yml
68 lines (64 loc) · 1.58 KB
/
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
version: '3.7'
services:
oxid_php:
image: oxidesales/oxideshop-docker-php:8.0
restart: always
container_name: oxid_php
command: installOxid
working_dir: /var/www/oxid-esale
volumes:
- ./oxid-esale:/var/www/oxid-esale:cached
- ./:/oxrun
- ./docker/bin/installOxid.sh:/usr/local/bin/installOxid
links:
- oxid_db
environment:
COMPILATION_VERSION: "dev-b-6.3-ce"
DOCKER_DOCUMENT_ROOT: /var/www/oxid-esale
MYSQL_HOST: oxid_db
MYSQL_DATABASE: 'oxid'
MYSQL_USER: "oxid"
MYSQL_PASSWORD: "oxid"
OXID_SHOP_URL: "http://oxid-esale.local:8082"
WITH_XDEBUG: "0"
# COMPOSER_AUTH: '{"http-basic": {"enterprise-edition.packages.oxid-esales.com": {"username": "XXXX", "password": "XXXX"}}}'
networks:
- internal
oxid_db:
container_name: oxid_db
image: mysql:5.7
restart: always
ports:
- "3306:3306"
environment:
MYSQL_DATABASE: oxid
MYSQL_USER: oxid
MYSQL_PASSWORD: oxid
MYSQL_ROOT_PASSWORD: oxid
TZ: Europe/Berlin
networks:
- internal
volumes:
- mysql-data:/var/lib/mysql
webserver:
container_name: oxid_webserver
image: httpd:2.4
restart: always
domainname: oxideshop.local
hostname: oxideshop
depends_on:
- oxid_php
volumes:
- ./oxid-esale:/var/www/oxid-esale
- ./docker/httpd.conf:/usr/local/apache2/conf/httpd.conf
ports:
- 8082:80
networks:
internal:
aliases:
- localhost
- oxid-esale.local
networks:
internal:
volumes:
mysql-data: