mirror of
https://github.com/decompme/decomp.me.git
synced 2026-02-23 06:49:26 -06:00
* add projects list * new project page * mypy * allow '.' in github identifiers * implement project create * project settings * disallow anons from being project members * uploadable project icon * docker attempt * fix tests * add tests * add description form * refactor to add useEntity and FieldSet * move FieldSet out of subdirectory * use same page for project tabs * scroll up to UnderlineNav when tab changes * stylelint * configure vscode mypy extension * mypy * fix mypy and dmypy dmypy does not support follow_imports=silent. Instead we explicitly disable most checks for asm_differ and m2c, which has the same effect * remove redundant mypy flags * FieldSet style tweaks * give UnderlineNav horiz padding * fix swr mutate of project header * few tweaks to help docker (#550) * eth changes * use POST/DELETE rather than PUT for project members * add migration * fix pr creation * simplify project platform derivation Co-authored-by: Mark Street <22226349+mkst@users.noreply.github.com> Co-authored-by: Ethan Roseman <ethteck@gmail.com>
61 lines
1.4 KiB
YAML
61 lines
1.4 KiB
YAML
version: '2'
|
|
services:
|
|
postgres:
|
|
image: postgres:13
|
|
environment:
|
|
POSTGRES_USER: decompme
|
|
POSTGRES_PASSWORD: decompme
|
|
ports:
|
|
- "5432:5432"
|
|
volumes:
|
|
- ./postgres:/var/lib/postgresql/data
|
|
backend:
|
|
build:
|
|
context: backend
|
|
args:
|
|
ENABLE_GBA_SUPPORT: "YES"
|
|
ENABLE_N64_SUPPORT: "YES"
|
|
# dont install wine32 etc by default
|
|
ENABLE_NDS_SUPPORT: "NO"
|
|
ENABLE_PS1_SUPPORT: "NO"
|
|
ENABLE_WII_GC_SUPPORT: "NO"
|
|
# dont install clang by default
|
|
ENABLE_SWITCH_SUPPORT: "NO"
|
|
cap_drop:
|
|
- all
|
|
cap_add:
|
|
- setuid
|
|
- setgid
|
|
- setfcap
|
|
env_file:
|
|
- backend/docker.dev.env
|
|
ports:
|
|
- "8000:8000"
|
|
security_opt:
|
|
- apparmor=unconfined
|
|
- seccomp=unconfined
|
|
volumes:
|
|
- ./backend:/backend
|
|
tmpfs:
|
|
# Use a separate tmpfs to prevent a rogue jailed process
|
|
# from filling /tmp on the parent container
|
|
- /sandbox/tmp:uid=1000,gid=1000,size=64M,mode=0700
|
|
frontend:
|
|
build: frontend
|
|
environment:
|
|
API_BASE: http://localhost/api
|
|
INTERNAL_API_BASE: http://backend:8000/api
|
|
FRONTEND_USE_IMAGE_PROXY: "false"
|
|
ports:
|
|
- "8080:8080"
|
|
volumes:
|
|
- ./frontend:/frontend
|
|
- .env:/.env
|
|
nginx:
|
|
image: nginx:1.22-alpine
|
|
ports:
|
|
- "80:80"
|
|
volumes:
|
|
- ./nginx:/etc/nginx/conf.d
|
|
- ./backend/media:/media
|