forked from laravel/laravel
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathdocker-compose.yml.arm64
46 lines (43 loc) · 1.13 KB
/
docker-compose.yml.arm64
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
version: '3.1'
services:
larachan:
build:
context: ./packages/LaraChan/Core/docker/larachan
dockerfile: Dockerfile
restart: always
network_mode: bridge
container_name: larachan
links:
- larachan-db
volumes:
- ./:/app
ports:
- '80:80'
larachan-db:
image: hypriot/rpi-mysql
restart: always
network_mode: bridge
container_name: larachan-db
volumes:
- ./.vol/larachan-db:/var/lib/mysql
ports:
- '3306:3306'
environment:
MYSQL_ROOT_PASSWORD: rootsecret
MYSQL_DATABASE: larachan
MYSQL_USER: app
MYSQL_PASSWORD: secret
larachan-tor-proxy:
build:
context: ./nginx-tor-proxy
dockerfile: Dockerfile
restart: always
network_mode: bridge
container_name: larachan-tor-proxy
links:
- larachan
depends_on:
- larachan
volumes:
- ./nginx-tor-proxy/web:/web
- ./nginx-tor-proxy/nginx:/nginx