-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
39 lines (35 loc) · 852 Bytes
/
Copy pathdocker-compose.yaml
File metadata and controls
39 lines (35 loc) · 852 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
32
33
34
35
36
37
38
39
version: '3'
services:
laravel-app:
build: ./.docker/nginx
container_name: nginx_futeba
ports:
- "8000:80"
volumes:
- ./:/var/www/
- .docker/nginx/default.conf:/etc/nginx/conf.d/default.conf
php:
build:
args:
user: b4ra0
uid: 1000
context: ./.docker/php
dockerfile: Dockerfile
container_name: php_futeba
restart: unless-stopped
ports:
- "8001:81"
volumes:
- ./:/var/www
postgres:
build: ./.docker/postgres
container_name: postgres_futeba
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: senha
POSTGRES_DB: futeba_bd
ports:
- "5432:5432"
volumes:
- .docker/postgres/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d
- /home/pc/volumes_idrip/postgres:/var/lib/postgresql/data