Add Dockerfile, docker-compose.yml and Gitea Actions workflow for CI/CD
This commit is contained in:
19
docker-compose.yml
Normal file
19
docker-compose.yml
Normal file
@@ -0,0 +1,19 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
websitedummy:
|
||||
build: .
|
||||
image: websitedummy:latest
|
||||
container_name: websitedummy
|
||||
restart: always
|
||||
read_only: true
|
||||
tmpfs:
|
||||
- /var/cache/nginx
|
||||
- /var/run
|
||||
ports:
|
||||
- "127.0.0.1:8080:8080"
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '0.5'
|
||||
memory: 256M
|
||||
Reference in New Issue
Block a user