-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
44 lines (43 loc) · 900 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
version: '3'
networks:
appnet:
volumes:
foss4_data:
services:
foss4_db:
image: mysql:5.7.29
container_name: foss4_db
restart: unless-stopped
tty: true
environment:
MYSQL_USER: foss
MYSQL_DATABASE: laravel
MYSQL_PASSWORD: g7UbLVp2JSgqjlQa
MYSQL_ROOT_PASSWORD: ZGFVA9K5wsx67OTp
SERVICE_TAGS: dev
SERVICE_NAME: mysql
volumes:
- foss4_data:/var/lib/mysql
networks:
- appnet
foss4_app:
build:
context: .
dockerfile: Dockerfile
container_name: foss4_app
image: foss4news
environment:
APP_NAME: Linkdoni
APP_URL: http://FOLAN.com #APP URL HERE
DB_HOST: foss4_db
DB_PORT: 3306
DB_DATABASE: laravel
DB_USERNAME: foss
DB_PASSWORD: g7UbLVp2JSgqjlQa
ports:
- "80:80"
- "443:443"
depends_on:
- foss4_db
networks:
- appnet