This commit is contained in:
parent
ce73db4924
commit
448f19587b
@ -8,8 +8,8 @@ services:
|
|||||||
- .:/var/www
|
- .:/var/www
|
||||||
- ./storage:/var/www/storage
|
- ./storage:/var/www/storage
|
||||||
working_dir: /var/www
|
working_dir: /var/www
|
||||||
expose:
|
ports:
|
||||||
- 9000
|
- "8000:8000" # port artisan serve
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
APP_ENV: production
|
APP_ENV: production
|
||||||
@ -21,20 +21,6 @@ services:
|
|||||||
DB_DATABASE: SISKA_2025
|
DB_DATABASE: SISKA_2025
|
||||||
DB_USERNAME: root
|
DB_USERNAME: root
|
||||||
DB_PASSWORD: postroot123
|
DB_PASSWORD: postroot123
|
||||||
networks:
|
|
||||||
- traefik_default
|
|
||||||
|
|
||||||
web:
|
|
||||||
image: nginx:alpine
|
|
||||||
container_name: sistem-akademik-dev-web
|
|
||||||
volumes:
|
|
||||||
- .:/var/www
|
|
||||||
- ./nginx:/etc/nginx/conf.d
|
|
||||||
ports:
|
|
||||||
- 8282:80
|
|
||||||
depends_on:
|
|
||||||
- sistem-akademik-dev
|
|
||||||
restart: always
|
|
||||||
labels:
|
labels:
|
||||||
- "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
- "traefik.http.routers.web-http.entrypoints=web"
|
- "traefik.http.routers.web-http.entrypoints=web"
|
||||||
@ -45,8 +31,8 @@ services:
|
|||||||
- "traefik.http.routers.web.rule=Host(`siska.appstaging.my.id`)"
|
- "traefik.http.routers.web.rule=Host(`siska.appstaging.my.id`)"
|
||||||
- 'traefik.http.routers.web.tls=true'
|
- 'traefik.http.routers.web.tls=true'
|
||||||
networks:
|
networks:
|
||||||
- traefik_default
|
- traefik_default
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
traefik_default:
|
traefik_default:
|
||||||
external: true
|
external: true
|
||||||
Loading…
x
Reference in New Issue
Block a user