Skip to content

Commit

Permalink
Change example to COMPOSE_PROJECT_NAME=asp
Browse files Browse the repository at this point in the history
  • Loading branch information
leojonathanoh committed Nov 7, 2023
1 parent f7b193a commit c9460f3
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions docs/full-bf2-stack-example/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,10 +181,10 @@ iptables -A INPUT -p udp -m udp -m conntrack --ctstate NEW --dport 80 -j ACCEPT
iptables -A INPUT -p udp -m udp -m conntrack --ctstate NEW --dport 443 -j ACCEPT
# Attach to the bf2 server console
docker attach bf2stats_bf2_1
docker attach asp_bf2_1
# Copy logs from bf2 server to this folder
docker cp bf2stats_bf2_1:/server/bf2/python/bf2/logs .
docker cp asp_bf2_1:/server/bf2/python/bf2/logs .
# Dump the DB
docker exec $( docker-compose ps | grep db | awk '{print $1}' ) mysqldump -uroot -pascent bf2stats | gzip > bf2stats.sql.gz
Expand All @@ -197,14 +197,14 @@ docker-compose down
# Cleanup. Warning: This destroys the all data!
docker-compose down
docker volume rm bf2stats_prmasterserver-volume
docker volume rm bf2stats_traefik-acme-volume
docker volume rm bf2stats_backups-volume
docker volume rm bf2stats_cache-volume
docker volume rm bf2stats_config-volume
docker volume rm bf2stats_logs-volume
docker volume rm bf2stats_snapshots-volume
docker volume rm bf2stats_db-volume
docker volume rm asp_prmasterserver-volume
docker volume rm asp_traefik-acme-volume
docker volume rm asp_backups-volume
docker volume rm asp_cache-volume
docker volume rm asp_config-volume
docker volume rm asp_logs-volume
docker volume rm asp_snapshots-volume
docker volume rm asp_db-volume
```

## Background: Keeping Battlefield 2 working
Expand Down

0 comments on commit c9460f3

Please sign in to comment.