blob: adf7b7d76c87c7807d0ef03035f034257c902013 (
plain)
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
|
version: '3.7'
# networks:
# anom-network:
# driver: bridge
services:
web:
container_name: x-anom
build:
context: .
ports:
- "80:8080"
volumes:
- "./public:/var/www/public"
- "./core:/var/www/core"
- "./docker:/var/www/docker"
- "./storage:/var/www/storage"
- "./tests:/var/www/tests"
- "./tests:/var/www/public/files"
environment:
PORT: 8080
# for xdebug uncomment next subsection
extra_hosts:
- host.docker.internal:host-gateway
# networks:
# - anom-network
command: sh -c "/usr/local/bin/docker-entrypoint.sh"
#
# memcached:
# container_name: anomemcached
# image: memcached:latest
# ports:
# - "11211:11211"
# redis:
# container_name: redis
# image: 'redis:5.0.7-alpine'
# ports:
# - 6379:6379
# networks:
# - anom-network
# mailhog
# NOTE: this is a fake mail server
# mailhog:
# image: mailhog/mailhog:v1.0.0
# ports:
# - "1025:1025"
# - "8025:8025"
|