v0.1
This commit is contained in:
6
Makefile
Normal file
6
Makefile
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
all:
|
||||||
|
cd srcs && docker compose up -d
|
||||||
|
down:
|
||||||
|
cd srcs && docker compose down
|
||||||
|
logs:
|
||||||
|
cd srcs && docker compose logs -f
|
||||||
@@ -2,7 +2,19 @@ version: '3.8'
|
|||||||
services:
|
services:
|
||||||
nginx:
|
nginx:
|
||||||
image: nginx:alpine
|
image: nginx:alpine
|
||||||
container_name: inception
|
container_name: inception_nginx
|
||||||
ports:
|
ports:
|
||||||
- "8080:80"
|
- "8080:80"
|
||||||
restart: unless-stopped
|
volumes:
|
||||||
|
- ./html:/usr/share/nginx/html
|
||||||
|
restart: unless-stopped
|
||||||
|
wordpress:
|
||||||
|
image: wordpress:php8.3-fpm-alpine
|
||||||
|
container_name: inception_wordpress
|
||||||
|
ports:
|
||||||
|
- "8081:9000"
|
||||||
|
volumes:
|
||||||
|
- wordpress_data:/var/www/html
|
||||||
|
restart: unless-stopped
|
||||||
|
volumes:
|
||||||
|
wordpress_data:
|
||||||
Reference in New Issue
Block a user